package com.SpringMVC.service;

import java.util.List;

import com.SpringMVC.model.TCompanyMessage;
import com.SpringMVC.model.TLoginMessage;
import com.SpringMVC.model.TUser;

public interface ILoginService {
	
	public TUser loginService(String userName);

	public void updatePwd(String tUserPwd,String tUserName);
	
	public List<TUser> selectAll();

	public int addUser(TUser tuser);

	public int deleteUser(String tUserName);

	public int addLoginMessage(TLoginMessage tLoginMessage);

	public List<TLoginMessage> selectAllLoginMessage();

	public List<TLoginMessage> search(String name);

	public List<TCompanyMessage> getCompanyMessage();

}
